<?php

require_once "Medoo.php";

use Medoo\Medoo;

$database = new Medoo([
    // required
    'database_type' => 'mysql',
    'database_name' => 'pattern',
    'server' => 'localhost',
    'username' => 'root',
    'password' => '123456',

    // [optional]
    'charset' => 'utf8',
    'port' => 3306,

    // [optional] Table prefix
    'prefix' => 'tp_'
]);